package com.exchange.employee.dto;

import com.sun.istack.NotNull;
import io.swagger.annotations.ApiModelProperty;

/***
 *                    .::::.
 *                  .::::::::.
 *                 :::::::::::
 *             ..:::::::::::'
 *           '::::::::::::'
 *             .::::::::::
 *        '::::::::::::::..
 *             ..::::::::::::.
 *           ``::::::::::::::::
 *            ::::``:::::::::'        .:::.
 *           ::::'   ':::::'       .::::::::.
 *         .::::'      ::::     .:::::::'::::.
 *        .:::'       :::::  .:::::::::' ':::::.
 *       .::'        :::::.:::::::::'      ':::::.
 *      .::'         ::::::::::::::'         ``::::.
 *  ...:::           ::::::::::::'              ``::.
 * ```` ':.          ':::::::::'                  ::::..
 *                    '.:::::'                    ':'````..
 *
 * @Author liuhai
 * @Date 2020-12-25 09:43:02
 * @Description
 */
public class UptArticleDto {

    /**
     * 文章ID
     */
    @NotNull
    @ApiModelProperty(value = "文章ID", name = "id")
    private Long id;

    /**
     * 标题
     */
    @NotNull
    @ApiModelProperty(value = "标题", name = "title")
    private String title;


    /**
     * 作者
     */
    @NotNull
    @ApiModelProperty(value = "作者", name = "author")
    private String author;

    /**
     * 文章内容
     */
    @NotNull
    @ApiModelProperty(value = "文章内容", name = "content")
    private String content;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getAuthor() {
        return author;
    }

    public void setAuthor(String author) {
        this.author = author;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }
}
